/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package limousine.vo;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author Neo
 */
public class TaxiTariff implements Serializable {
    private static final long serialVersionUID = 1L;
    private String taxiRateId;
    private String distination;
    private Integer taxiSize;
    private Integer oneWay;
    private Integer roundTrip;
    private String createBy;
    private Date createDate;
    private String updateBy;
    private Date updateDate;
    private Integer taxiTariffOrder;

    public TaxiTariff() {
    }

    public TaxiTariff(String taxiRateId) {
        this.taxiRateId = taxiRateId;
    }

    public TaxiTariff(String taxiRateId, Date createDate, Date updateDate) {
        this.taxiRateId = taxiRateId;
        this.createDate = createDate;
        this.updateDate = updateDate;
    }

    public String getTaxiRateId() {
        return taxiRateId;
    }

    public void setTaxiRateId(String taxiRateId) {
        this.taxiRateId = taxiRateId;
    }

    public String getDistination() {
        return distination;
    }

    public void setDistination(String distination) {
        this.distination = distination;
    }

    public Integer getTaxiSize() {
        return taxiSize;
    }

    public void setTaxiSize(Integer taxiSize) {
        this.taxiSize = taxiSize;
    }

    public Integer getOneWay() {
        return oneWay;
    }

    public void setOneWay(Integer oneWay) {
        this.oneWay = oneWay;
    }

    public Integer getRoundTrip() {
        return roundTrip;
    }

    public void setRoundTrip(Integer roundTrip) {
        this.roundTrip = roundTrip;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getTaxiTariffOrder() {
        return taxiTariffOrder;
    }

    public void setTaxiTariffOrder(Integer taxiTariffOrder) {
        this.taxiTariffOrder = taxiTariffOrder;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (taxiRateId != null ? taxiRateId.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TaxiTariff)) {
            return false;
        }
        TaxiTariff other = (TaxiTariff) object;
        if ((this.taxiRateId == null && other.taxiRateId != null) || (this.taxiRateId != null && !this.taxiRateId.equals(other.taxiRateId))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "limousine.vo.TaxiTriff[taxiRateId=" + taxiRateId + "]";
    }

}
